how to graph a sequence